home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat1 / gzgrep.z / gzgrep
Encoding:
Text File  |  1998-10-20  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGZZZZGGGGRRRREEEEPPPP((((1111))))                                                            GGGGZZZZGGGGRRRREEEEPPPP((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      gzgrep - search possibly compressed files for a regular expression
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ggggzzzzggggrrrreeeepppp [ grep_options ] [[[[ ----eeee ]]]] _p_a_t_t_e_r_n _f_i_l_e_n_a_m_e...
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _G_z_g_r_e_p is used to invoke the _g_r_e_p on compress'ed or gzip'ed files. All
  16.      options specified are passed directly to _g_r_e_p. If no file is specified,
  17.      then the standard input is decompressed if necessary and fed to grep.
  18.      Otherwise the given files are uncompressed if necessary and fed to _g_r_e_p.
  19.  
  20.      If _g_z_g_r_e_p is invoked as _g_z_e_g_r_e_p or _g_z_f_g_r_e_p then _e_g_r_e_p or _f_g_r_e_p is used
  21.      instead of _g_r_e_p. If the GREP environment variable is set, _g_z_g_r_e_p uses it
  22.      as the _g_r_e_p program to be invoked. For example:
  23.  
  24.          for sh:  GREP=fgrep  gzgrep string files
  25.          for csh: (setenv GREP fgrep; gzgrep string files)
  26.  
  27. AAAAUUUUTTTTHHHHOOOORRRR
  28.      Charles Levert (charles@comm.polymtl.ca)
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      grep(1), egrep(1), fgrep(1), gzdiff(1), gzmore(1), gznew(1), gzforce(1),
  32.      gzip(1), gzexe(1)
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.